const html = String.raw;

export default {
  props: ["type", "size", "icon"],
  emits: ["click"],
  setup() {},
  template: html`
    <button
      @click="$emit('click')"
      class="btn"
      :class="'btn-'+type+' '+'btn-'+size"
    >
      <bs-icon v-if="icon" :name="icon"></bs-icon>
      <slot></slot>
    </button>
  `,
};
